from sqlalchemy import create_engine

# 第一步，准备链接

# v1.0风格
engine = create_engine('mysql://root:123456@127.0.0.1:3306/learn_mysql?charset=utf8',
                        echo=True)

# V2.0风格
engine_future = create_engine('mysql://root:123456@127.0.0.1:3306/learn_mysql?charset=utf8',
                       echo=True,
                       future=True)
